package com.itheima.springboottilasmanager.Aop;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.stereotype.Component;

@Component
@Aspect
public class MyAspect2 {
//    @Before("execution(com.itheima.springboottilasmanager.pojo.domain.Dept  com.itheima.springboottilasmanager.survice.deptsurvice.Depts.selectCount() ) ")
    @Before("@annotation(com.itheima.springboottilasmanager.anonotation.Time)")
    public void before(){
        System.out.println("切入点表达式方法");
    }
}
